
list= []
for i in range(100):
    if i <= 1:
        continue
    if len(list) == 0:
        print(i)
        list.append(i)
    else:
        is_p = True
        for j in list:
            if (i % j) == 0:
                is_p = False
                break
        if is_p:
            print(i)
            list.append(i)